package com.zstu.lvxiang.vo;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

@Getter
@AllArgsConstructor
@ToString
public enum RespBeanEnum {
    //通用
    SUCCESS(200, "SUCCESS"),
    ERROR(500, "服务器异常"),
    //登录模块
    LOGIN_ERROR(500210, "账号或密码有误"),
    SESSION_ERROR(500211, "账户不存在"),
    REGISTER_ERROR(500212,"已经注册过，请勿重复注册"),
    //打卡模块
    PUNCH_ERROR(500310, "已签到，请勿重复签到");
    private final Integer code;
    private final String msg;

}
